#include <iostream>
#include <cmath>
using namespace std;
bool prime(long n)
{
   if(n<=1 ) return false;
    for(int i = 2; i<=pow(n,0.5); i++)
    {
        if(n%i == 0)
            return false;
    }
    return true;
    
}
int main()
{
    long n;
    cin >> n;
    for(long i = 2; i < n; i++)
    {
        int j = n - i;
        if(prime(i) && prime(j))
        {
            cout << n << " = " << i << " + " << j;
            break;
        }
    }
}